#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QKeyEvent>

class OGLWidget;

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = Q_NULLPTR);
    virtual ~Dialog();

    void keyPressEvent(QKeyEvent *) override;

private:
    OGLWidget *w;
};

#endif // DIALOG_H
